package org.pojo.po;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hu-zhi-jun
 * @since 2021-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TradePay extends Model<TradePay> {

    private static final long serialVersionUID = 1L;

    private Integer payId;

    private Integer orderId;

    private BigDecimal payAmount;

    /**
     * 0 未支付 1 已支付
     */
    private Integer isPaid;


    @Override
    protected Serializable pkVal() {
        return this.payId;
    }

}
